﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Utility;
using Data;


namespace DataAccess
{
    public class Tbl_ReferenceBus
    {
        LinqUtility<tbl_reference> context = new LinqUtility<tbl_reference>();

        public List<tbl_reference> getListReference()
        {
            return context.GetAll();
        }

        public void insertReference(tbl_reference tr)
        {
            context.Insert(tr);
        }

        public void updateReference(tbl_reference tr)
        {
            context.Update(tr);
        }

        public void delete(tbl_reference tr)
        {
            context.Delete(tr);
        }
    }
}
